<?php defined( '_JEXEC') or die( 'Restricted access'); // No direct access ?>
    <div class="subhead">
		<fieldset>
			<legend>
				<h3>
                    Change password:
                </h3>
			</legend>
			<form name="form1" id="form1" method="post" action="<?php echo JRoute::_('index.php?option=com_volunteer&task=updatevolunteer') ;?>">
            <table border="0">
      <tr>
				      <td>Username</td>
				      <td><input type="hidden" name="username" value="<?php echo JRequest::getVar('volunteer') ;?>" /><?php echo JRequest::getVar('volunteer') ;?></td>
			      </tr>
				    <tr>
				      <td>New Password</td>
				      <td><input type="password" name="password" id="" /></td>
			      </tr>
				    <tr>
				      <td>Confirm new password</td>
				      <td><input type="password" name="password2" id="" /></td>
			      </tr>
				    <tr>
				      <td>&nbsp;</td>
				      <td><input type="submit" value="Update" />
					<INPUT TYPE="BUTTON" VALUE="Cancel" ONCLICK="javascript:window.location='<?php echo JRoute::_('index.php?option=com_volunteer&view=searchvolunteer') ?>'"></td>
			      </tr>
		    </table>
        </form>
		</fieldset>        
    </div>